<?php
class ItemModel extends Model {
    // 定义自动验证
    protected $_validate    =   array(
		array('item','require','请输入主项名称'),
        );
}